﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Cspl.Calculator.Lib.Model
{
    public class CalModel
    {
        #region Private Fields

        private int _integerValue1;
        private int _integerValue2;
        private IEnumerable<int> _listOfIntegerValue;
        private CalOperations _operation;
        private CalMode _mode;
        
        #endregion

        #region Constructors

        public CalModel()
        {
        }

        public CalModel(CalOperations operation)
        {
            // assign an initial operation
            this.Operation = operation;
        }

        #endregion

        #region Properties

        public int IntegerValue1
        {
            get { return _integerValue1; }
            set { _integerValue1 = value; }
        }

        public int IntegerValue2
        {
            get { return _integerValue2; }
            set { _integerValue2 = value; }
        }

        public IEnumerable<int> ListOfIntegerValue
        {
            get { return _listOfIntegerValue; }
            set { _listOfIntegerValue = value; }
        }

        public CalOperations Operation
        {
            get { return _operation; }
            set { _operation = value; }
        }

        public CalMode Mode
        {
            get { return _mode; }
            set { _mode = value; }
        }


        #endregion

    }
}
